package com.xiangban.xiangbanmall.dao;

import com.xiangban.xiangbanmall.model.TUserRecommend;
import com.xiangban.xiangbanmall.model.dto.UserRecommend;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author Mr. MaYaYun
 * @Data 2021/11/3 11:01
 */
@Repository
public interface MemberRecommendMapper {

    List<UserRecommend> selectRecommendRecordList(Integer userIdRecommend);

    void insertRecommend(TUserRecommend tUserRecommend);

    TUserRecommend selectIsRecommend(Integer userId);
}
